Skip to content

fix: unify Exchange.market_close signature to use 'name' instead of 'coin'#266

Open
KyaClaw wants to merge 1 commit intohyperliquid-dex:masterfrom
kyaky:fix/issue-264
Open

fix: unify Exchange.market_close signature to use 'name' instead of 'coin'#266
KyaClaw wants to merge 1 commit intohyperliquid-dex:masterfrom
kyaky:fix/issue-264

Conversation

@KyaClaw
Copy link

@KyaClaw KyaClaw commented Mar 2, 2026

Summary

This PR unifies the parameter name in Exchange.market_close from coin to name, aligning it with the rest of the SDK's API consistency.

Changes

  • Renamed parameter coin to name in Exchange.market_close method signature
  • Updated all internal references to the parameter within the method
  • No functional changes; purely a naming consistency fix

Testing

The fix maintains backward compatibility as it's only a parameter rename. Existing code calling market_close(coin="BTC") will need to update to market_close(name="BTC").

Fixes #264

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants